import Layout                  from "@/layout/index.vue"
import { createNameComponent } from "../createNode"

const route = [
    {
        path     : "/descriptive",
        component: Layout,
        redirect : "/descriptive/manager",
        meta     : { title: "描述性分析", icon: "sfont system-page" },
        children : [
            {
                path     : "centralTendency",
                component: createNameComponent(() => import("@/views/main/descriptive/centralTendency/CentralTendency.vue")),
                meta     : { title: "集中趋势分析", icon: "sfont system-page" },
            },
            {
                path     : "dispersionDegree",
                component: createNameComponent(() => import("@/views/main/descriptive/dispersionDegree/DispersionDegree.vue")),
                meta     : { title: "离散程度分析", icon: "sfont system-page" },
            },
            {
                path     : "distribution",
                component: createNameComponent(() => import("@/views/main/descriptive/distribution/Distribution.vue")),
                meta     : { title: "分布形态分析", icon: "sfont system-page" },
            },
        ],
    },
]

export default route
